package com.ruizhong.centercontroll.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.ruizhong.centercontroll.entity.TPPT;
import com.ruizhong.centercontroll.entity.TWebPage;

import java.util.List;
import java.util.Map;

public interface TPPTService extends IService<TPPT> {
    void saveNewPPTList(List<Map<String, Object>> pptList, Integer pageId, boolean isNew);

    List<TPPT> getPPTsByPageId(Integer pageId, Double pageWidth, Double pageHeight, Double aimPageWidth, Double aimPageHeight, Boolean display) throws JsonProcessingException;

    List<TPPT> getPPTIdsByPageId(Integer pageId);
}
